<?php use \Inationsoft\NS; use \Inationsoft\NS\UI\Widget; ?> 
<form class="stdform stdform2" method="post" action="<?php echo $app_base_url; ?>/save">
<div class="breadcrumbwidget">
	<ul class="breadcrumb">
		<li><a href="http://localhost/~inanta/simtur">Beranda</a> <span class="divider">/</span></li>
		<li><a href="<?php echo $app_base_url; ?>">Application</a> <span class="divider">/</span></li>
		<li class="active">Rubah</li>
	</ul>
</div><!--breadcrumbs-->
<div class="pagetitle">
	<div class="row-fluid">
		<div class="span6"><h1>Application</h1><span>Application</span></div>
		<div class="span6">
			<div id="header-button">
				<?php echo new Widget\Hidden('token', $token); ?> 
				<?php echo new Widget\Hidden('edit_token', $edit_token); ?> 
				<?php echo new Widget\Hidden('application_id', $datas['application_id']); ?> 
				<ul>
					<li><?php echo new Widget\Bootstrap\Button('dispatch', 'save', Widget\Button::BUTTON_SUBMIT, '<span class="icon-ok"></span> Simpan'); ?></li>
					<li><?php echo new Widget\Bootstrap\HyperlinkButton(null, $app_base_url . '/index', '<span class="icon-remove"></span> Batal'); ?></li>
				</ul>
			</div>
		</div>
	</div>
</div><!--pagetitle-->

<div class="maincontent">
	<div class="contentinner">
		<h4 class="widgettitle nomargin shadowed">Rubah Application</h4>
		<div class="widgetcontent bordered shadowed nopadding">
 
			<div class="field-section">
				<label class="field-label">Is Enabled</label>
				<div class="field">
					<?php echo new Widget\Bootstrap\SwitchButton('is_enabled', $datas['is_enabled'], empty($datas['is_enabled']) ? false : true, array('data-on-label' => 'YES', 'data-off-label' => 'NO')); ?> 
				</div>
			</div>
 
		</div>
	</div><!--contentinner-->
</div><!--maincontent-->
</form>